#ifndef WAVEDISPLAY_H
#define WAVEDISPLAY_H

#include <QDialog>

namespace Ui {
class waveDisplay;
}

struct DisplayChannel {
    unsigned int rope0lma : 1;  // 占1位
    unsigned int rope0lf : 1;

    unsigned int rope1lma : 1; 
    unsigned int rope1lf : 1;

    unsigned int rope2lma : 1; 
    unsigned int rope2lf : 1;

    unsigned int rope3lma : 1; 
    unsigned int rope3lf : 1;
};

class WaveDisplay : public QDialog
{
    Q_OBJECT

public:
    explicit WaveDisplay(QWidget *parent = nullptr);
    ~WaveDisplay();

    void setDisplayChannel(const DisplayChannel& displayChannel);
    DisplayChannel getDisplayChannel();

private:
    Ui::waveDisplay *ui;
};

#endif // WAVEDISPLAY_H
